<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class=""> <!--<![endif]-->

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{% block title %}Cloucer{% endblock %}</title>
  <meta name="keywords" content="{% block keywords %}{% endblock %}" />
  <meta name="description" content="{% block description %}{% endblock %}" />
  {% block stylesheets %}
    <link href="{{ asset('assets/libs/gallery2/bootstrap/3.1.1/css/bootstrap.css') }}" rel="stylesheet" />
    <link rel="stylesheet" media="screen" href="{{ asset('assets/css/common.css') }}" />
  {% endblock %}
  <!--[if lt IE 9]>
    <script src="{{ asset('assets/libs/html5shiv.js') }}"></script>
  <![endif]-->
  <!--[if IE 8]>
    <script src="{{ asset('assets/libs/respond.min.js') }}"></script>
  <![endif]-->
  {% block head_scripts %}{% endblock %}
</head>
<body>
  {% block body %}{% endblock %}
  <div id="modal" class="modal"></div>

  <script>
    var app = {};
    app.debug = {% if app.debug %}true{% else %}false{% endif %};
    app.version = '{{ assets_version() }}';

    app.config = {{
      {

      }|json_encode|raw
    }};

    app.arguments = {};
    {% if script_controller is defined %}
      app.controller = '{{ script_controller }}';
    {% endif %}
    {% if script_arguments is defined %}
      app.arguments = {{ script_arguments|json_encode|raw }};
    {% endif %}
  </script>
  <script src="{{ asset('assets/libs/seajs/seajs/2.2.0/sea.js') }}"></script>
  <script src="{{ asset('assets/libs/seajs/seajs-style/1.0.2/seajs-style.js') }}"></script>
  <script src="{{ asset('assets/libs/seajs-global-config.js') }}"></script>
  <script>
    seajs.use("{{ asset('bundles/clotweb/js/app.js') }}")
  </script>

  {% block footer_javascripts %}{% endblock %}
  
<div class="site-footer container clearfix">
  <div class="text-gray" data-role="default-foot-bar">
    Copyright ©2014-2014 
    <a href="/" target="_blank">Cloucer.com</a>
    All rights Reserved.
  </div>
</div>
</body>
</html>